import CryptoJS from 'crypto-js';


export function mix(...a: string[]) {
  let b = '';
  const c = Math.max(...a.map(v => v.length));
  for (let d = 0; d < c; d++)
    for (let e = 0; e < a.length; ++e)
      b += `${a[e][d] || d}`;
  return CryptoJS.MD5(b).toString();
}
